﻿using System;
using System.Collections.Generic;
using System.Data.Objects.DataClasses;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;
using WmsService;

namespace WmsService.Derived
{
   
    [Serializable()]
    [DataContract(IsReference = true)]
    public class ExtendStoreGoods : StoreGoods
    {
        [DataMemberAttribute()]
        public global::System.Boolean IsSelect
        {
            get
            {
                return _IsSelect;
            }
            set
            {
                ReportPropertyChanging("IsSelect");
                _IsSelect = StructuralObject.SetValidValue(value);
                ReportPropertyChanged("IsSelect");

            }
        }
        private global::System.Boolean _IsSelect;


        [DataMemberAttribute()]
        public global::System.String GoodsDesc
        {
            get
            {
                return _GoodsDesc;
            }
            set
            {
                ReportPropertyChanging("GoodsDesc");
                _GoodsDesc = StructuralObject.SetValidValue(value, true);
                ReportPropertyChanged("GoodsDesc");
            }
        }
        private global::System.String _GoodsDesc;

        [DataMemberAttribute()]
        public global::System.String GoodsClass
        {
            get
            {
                return _GoodsClass;
            }
            set
            {
                ReportPropertyChanging("GoodsClass");
                _GoodsClass = StructuralObject.SetValidValue(value, true);
                ReportPropertyChanged("GoodsClass");
            }
        }
        private global::System.String _GoodsClass;


        [DataMemberAttribute()]
        public global::System.Decimal SafeStoreQty
        {
            get
            {
                return _SafeStoreQty;
            }
            set
            {
                ReportPropertyChanging("SafeStoreQty");
                _SafeStoreQty = StructuralObject.SetValidValue(value);
                ReportPropertyChanged("SafeStoreQty");
            }
        }
        private global::System.Decimal _SafeStoreQty;


        [DataMemberAttribute()]
        public global::System.String ChargeID
        {
            get
            {
                return _ChargeID;
            }
            set
            {
                ReportPropertyChanging("ChargeID");
                _ChargeID = StructuralObject.SetValidValue(value, false);
                ReportPropertyChanged("ChargeID");
            }
        }
        private global::System.String _ChargeID;

        [DataMemberAttribute()]
        public global::System.String ChargeName
        {
            get
            {
                return _ChargeName;
            }
            set
            {
                ReportPropertyChanging("ChargeName");
                _ChargeName = StructuralObject.SetValidValue(value, false);
                ReportPropertyChanged("ChargeName");
            }
        }
        private global::System.String _ChargeName;

        [DataMemberAttribute()]
        public global::System.String StoreLocation
        {
            get
            {
                return _StoreLocation;
            }
            set
            {
                ReportPropertyChanging("StoreLocation");
                _StoreLocation = StructuralObject.SetValidValue(value, true);
                ReportPropertyChanged("StoreLocation");
            }
        }
        private global::System.String _StoreLocation;

        [DataMemberAttribute()]
        public global::System.Decimal MaxStoreQty
        {
            get
            {
                return _MaxStoreQty;
            }
            set
            {
                ReportPropertyChanging("MaxStoreQty");
                _MaxStoreQty = StructuralObject.SetValidValue(value);
                ReportPropertyChanged("MaxStoreQty");
            }
        }
        private global::System.Decimal _MaxStoreQty;
    }
}